package com.xdf;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * springCloud stream 消息驱动微服务
 * 演示使用 SpringCloud Stream 集成 kafka 实现消息驱动服务
 * @author chanchaw
 * @create 2025-11-04 20:20
 */
@Slf4j
@SpringBootApplication
@EnableDiscoveryClient
public class StreamClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(StreamClientApplication.class, args);
        log.info("StreamClientApplication 启动完毕！");
    }
}
